<%@page import="com.valuebean.ADOrder"%>
<%@page import="com.module.ADOrderModule"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
   <title>Llama商城</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/CuitShopPlatform/css/bootstrap.min.css">
    <script src="/CuitShopPlatform/js/jquery-1.12.0.min.js"></script>
    <script src="/CuitShopPlatform/js/bootstrap.min.js"></script>
  <%
  ADOrderModule adOrderModule=new ADOrderModule();
  ArrayList list =new ArrayList();
  list=adOrderModule.selectMsg();
  ADOrder adOrder=new ADOrder();
   %>
  </head>
  
  <body>
  <table class="table table-border table-hover">
  <tr ><td >商品信息表</td></tr>
  <tr >
    <td >订单ID</td>
    <td >订单价格</td>
    <td >订单用户</td>
    <td >订单状态</td>
    <td >操作</td>
    <td >操作</td>
  </tr>
    	<%
    	Iterator it=list.iterator();
    	while(it.hasNext()){
    	adOrder=(ADOrder)it.next();
    	 %>
    	
    	<tr>
    	<td ><%=adOrder.getOrderid() %></td>
    	
    	<td ><%=adOrder.getPrice() %></td>
    	<td ><%=adOrder.getUserid() %></td>
    	<td ><%=adOrder.getSta() %></td>
    	<td><a href="/CuitShopPlatform/admin/orderUpdate.jsp?orderid=<%=adOrder.getOrderid() %>">修改</a></td>
    	<td><a href="/CuitShopPlatform/servlet/DoOrder?action=del&orderid=<%=adOrder.getOrderid()%>">删除</a></td>
    </tr>
    	<%
    	}
    	 %>
    	 </table>
  </body>
</html>
